package com.nbicc.common.utils;

public class CommonUtils {

    public static boolean int2boolean(int b){
        if(b == 1)  return true;
        return false;
    }

    public static boolean int2boolean(String bStr){
        int b = 0;
        try {
            b = Integer.valueOf(bStr);
        }catch (Exception e){
        }
        return int2boolean(b);
    }

}
